home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Sep 89 / Y0072-PoseModally & Commi-Sep89 < prev    next >
Encoding:
Text File  |  1989-09-22  |  912 b   |  26 lines  |  [TEXT/GEOL]

  1. Item    4194562                         22-Sept-89        01:40
  2.  
  3. From:   UK0016                          Icon Technology UK
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    PoseModally & Commit
  8.  
  9. In 2.0B9, PoseModally calls gApplication.CommitLastCommand. It didn't do this
  10. in 2.0B5, and I can find no reference to this in the release notes.
  11.  
  12. Isn't this is a major change to the functionality of dialogs? We have always
  13. adopted a strategy of processing a dialog completely before creating a command
  14. object: this way you could avoid committing the last command if the user
  15. selects Cancel. In effect we use the dialog as an extension of the menu item in
  16. order to collect more data about the command which we then execute only if the
  17. user has selected OK.
  18.  
  19. The change to PoseModally effectively commits us (sorry) to regard the dialog
  20. as part of the command!
  21.  
  22. Comments?
  23.  
  24. Regards, Keith Lander
  25.  
  26.